package indi.zhifa.learn.jenkins.helloworld2.web;

import indi.zhifa.learn.jenkins.helloworld2.common.util.DtoEntityUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScans(value = {@MapperScan("indi.zhifa.learn.jenkins.helloworld2.web.dao.mapper")})
@SpringBootApplication(scanBasePackages = {"indi.zhifa.learn.jenkins.helloworld2.web","indi.zhifa.learn.jenkins.helloworld2.common"})
public class WebApplication {
    public static void main(String[] args) {
        DtoEntityUtil.init();
        SpringApplication.run(WebApplication.class, args);
    }
}
